﻿using System.Web.UI.WebControls;
using FlexySys.Common.Attributes;
using FlexySys.Common.Items;


namespace Web.Control.Item
{
    [CommonControl("HtmlTable", "", "")]
    public class HtmlTable : Table, IAddChild
    {
        public void Add(object item)
        {
            this.Controls.Add(item as System.Web.UI.Control);
        }
    }

    [CommonControl("HtmlRow", "", "")]
    public class HtmlRow : TableRow, IAddChild
    {

        public void Add(object item)
        {
            this.Controls.Add(item as System.Web.UI.Control);
        }
    }

    [CommonControl("HtmlColumn", "", "")]
    public class HtmlColumn : TableCell, IAddChild
    {

        public void Add(object item)
        {
            this.Controls.Add(item as System.Web.UI.Control);
        }
    }
}